import request from '@/utils/request'

// 查询测试DemoCopy列表
export function listTDemoCopy(query) {
  return request({
    url: '/demo/TDemoCopy/list',
    method: 'get',
    params: query
  })
}

// 查询测试DemoCopy详细
export function getTDemoCopy(id) {
  return request({
    url: '/demo/TDemoCopy/' + id,
    method: 'get'
  })
}

// 新增测试DemoCopy
export function addTDemoCopy(data) {
  return request({
    url: '/demo/TDemoCopy',
    method: 'post',
    data: data
  })
}

// 修改测试DemoCopy
export function updateTDemoCopy(data) {
  return request({
    url: '/demo/TDemoCopy',
    method: 'put',
    data: data
  })
}

// 删除测试DemoCopy
export function delTDemoCopy(id) {
  return request({
    url: '/demo/TDemoCopy/' + id,
    method: 'delete'
  })
}
